package com.addplus.townmall.server.api.model.exam;

import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Knowledge extends BaseRestModel {

    private static final long serialVersionUID = 1L;


    @TableField("knowledge_name")
    private String knowledgeName;
    /**
     * 区域深度，一级区域为1
     */
    private Integer dept;
    /**
     * 所属区域菜单
     */
    private Integer pid;
    /**
     * 是否根节点(0:否 1:是)
     */
    @TableField("is_root")
    private Integer isRoot;

    /**
     * 当前菜单路径，使用逗号(,)分隔
     */
    private String path;

    /**
     * 0:未删除 1:已删除
     */
    @TableField("is_delete")
    private Integer isDelete;


}